function render(template, data) {
    return template.replace(/\{\{(\w+)\}\}/g, function (a, b) {
        return data[b]
    })
}
console.log(1111)